package com.daxt.model.service.base.vo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "用户分类(数据权限)", description = "用户分类(数据权限)")
@TableName("base_user_classify")
public class UserClassify implements Serializable{
	
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	@ApiModelProperty(value = "分类id，ID", name = "classifyId")
	private Long classifyId;
	@ApiModelProperty(value = "角色id", name = "roleId")
	private Long roleId;
	@ApiModelProperty(value = "类型：0全宗，1门类，2类目，3字段", name = "type")
	private int type;
	@ApiModelProperty(value = "树ID", name = "treeId")
	private String treeId;
	@ApiModelProperty(value = "字段（例：archivalYear）", name = "field")
	private String field;
	@ApiModelProperty(value = "字段值", name = "fieldValue")
	private String fieldValue;


}